package cn.cms.chuangjia.config;

import cn.cms.chuangjia.domain.Admin;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author oldliu
 * @since 1.0
 */
@Data
@ConfigurationProperties(prefix = "mail")
@Component
public class EmailConfig {
    private String []to;//收件人
    private String from;//发件人
    //管理员信息
    private Admin guanli;
}
